﻿using BattleFury.Server.Wpf.Models;
using System.Windows;
using System.Windows.Controls;

namespace BattleFury.Server.Wpf.Core.Selectors
{
	public class PanesStyleSelector
		: StyleSelector
	{
		public Style ServerStyle { get; set; }

		public override Style SelectStyle(object item, System.Windows.DependencyObject container)
		{
			if (item is ServerModel)
				return ServerStyle;

			return base.SelectStyle(item, container);
		}
	}
}